<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="/favicon.ico" >
<LINK rel="Shortcut Icon" href="/favicon.ico" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="__ROOT__/Public/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__ROOT__/Public/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__ROOT__/Public/lib/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__ROOT__/Public/lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="__ROOT__/Public/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="__ROOT__/Public/static/h-ui.admin/css/style.css" />
<link href="__ROOT__/Public/lib/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<!--/meta 作为公共模版分离出去-->

<title>角色编辑 - 角色管理 - 瞳年眼镜</title>
<meta name="keywords" content="">
<meta name="description" content="">
</head>
<body>
<article class="page-container">
	<form class="form form-horizontal" id="form-article-add" action="{:U('Character/update')}" method="post">
		<input type="hidden" name="id" value="{$v.id}">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>角色：</label>
			<div class="formControls col-xs-4 col-sm-2">
				<input type="text" class="input-text" value="{$v.character}" placeholder="" id="" name="character" required>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>描述：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-checkbox" value="{$v.description}" placeholder="" id="" name="description">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>新闻：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="News-add,News-insert" name="rights[]" <if condition="in_array('News-add',$arr)">checked</if>>添加
				<input type="checkbox" class="input-checkbox" value="News-del" name="rights[]" <if condition="in_array('News-del',$arr)">checked</if>>删除
				<input type="checkbox" class="input-checkbox" value="News-edit,News-update" name="rights[]" <if condition="in_array('News-edit',$arr)">checked</if>>修改
				<input type="checkbox" class="input-checkbox" value="News-index" name="rights[]" <if condition="in_array('News-index',$arr)">checked</if>>查看
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>产品：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="Goods-add,Goods-insert" name="rights[]" <if condition="in_array('Goods-add',$arr)">checked</if>>添加
				<input type="checkbox" class="input-checkbox" value="Goods-del" name="rights[]" <if condition="in_array('Goods-del',$arr)">checked</if>>删除
				<input type="checkbox" class="input-checkbox" value="Goods-edit,Goods-update" name="rights[]" <if condition="in_array('Goods-edit',$arr)">checked</if>>修改
				<input type="checkbox" class="input-checkbox" value="Goods-index" name="rights[]" <if condition="in_array('Goods-index',$arr)">checked</if>>查看
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>产品分类：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="GoodsCate-add,GoodsCate-insert" name="rights[]" <if condition="in_array('GoodsCate-add',$arr)">checked</if>>添加
				<input type="checkbox" class="input-checkbox" value="GoodsCate-del" name="rights[]" <if condition="in_array('GoodsCate-del',$arr)">checked</if>>删除
				<input type="checkbox" class="input-checkbox" value="GoodsCate-edit,GoodsCate-update" name="rights[]" <if condition="in_array('GoodsCate-edit',$arr)">checked</if>>修改
				<input type="checkbox" class="input-checkbox" value="GoodsCate-index" name="rights[]" <if condition="in_array('GoodsCate-index',$arr)">checked</if>>查看
			</div>
		</div>
				<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>用户反馈：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="Feedback-add,Feedback-insert" name="rights[]" <if condition="in_array('Feedback-add',$arr)">checked</if>>添加
				<input type="checkbox" class="input-checkbox" value="Feedback-del" name="rights[]" <if condition="in_array('Feedback-del',$arr)">checked</if>>删除
				<input type="checkbox" class="input-checkbox" value="Feedback-edit,Feedback-update" name="rights[]" <if condition="in_array('Feedback-edit',$arr)">checked</if>>修改
				<input type="checkbox" class="input-checkbox" value="Feedback-index" name="rights[]" <if condition="in_array('Feedback-index',$arr)">checked</if>>查看
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>图片管理：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="Image-add,Image-insert" name="rights[]" <if condition="in_array('Image-add',$arr)">checked</if>>添加
				<input type="checkbox" class="input-checkbox" value="Image-del" name="rights[]" <if condition="in_array('Image-del',$arr)">checked</if>>删除
				<input type="checkbox" class="input-checkbox" value="Image-edit,Image-update" name="rights[]" <if condition="in_array('Image-edit',$arr)">checked</if>>修改
				<input type="checkbox" class="input-checkbox" value="Image-index" name="rights[]" <if condition="in_array('Image-index',$arr)">checked</if>>查看
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>视频管理：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="Video-add,Video-insert" name="rights[]" <if condition="in_array('Video-add',$arr)">checked</if>>添加
				<input type="checkbox" class="input-checkbox" value="Video-del" name="rights[]" <if condition="in_array('Video-del',$arr)">checked</if>>删除
				<input type="checkbox" class="input-checkbox" value="Video-edit,Video-update" name="rights[]" <if condition="in_array('Video-edit',$arr)">checked</if>>修改
				<input type="checkbox" class="input-checkbox" value="Video-index" name="rights[]" <if condition="in_array('Video-index',$arr)">checked</if>>查看
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>角色管理：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="Character-add,Character-insert" name="rights[]" <if condition="in_array('Character-add',$arr)">checked</if>>添加
				<input type="checkbox" class="input-checkbox" value="Character-del" name="rights[]" <if condition="in_array('Character-del',$arr)">checked</if>>删除
				<input type="checkbox" class="input-checkbox" value="Character-edit,Character-update" name="rights[]" <if condition="in_array('Character-edit',$arr)">checked</if>>修改
				<input type="checkbox" class="input-checkbox" value="Character-index" name="rights[]" <if condition="in_array('Character-index',$arr)">checked</if>>查看
			</div>
		</div>
				<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>管理员管理：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="Admin-add,Admin-insert" name="rights[]" <if condition="in_array('Admin-add',$arr)">checked</if>>添加
				<input type="checkbox" class="input-checkbox" value="Admin-del" name="rights[]" <if condition="in_array('Admin-del',$arr)">checked</if>>删除
				<input type="checkbox" class="input-checkbox" value="Admin-edit,Admin-update" name="rights[]" <if condition="in_array('Admin-edit',$arr)">checked</if>>修改
				<input type="checkbox" class="input-checkbox" value="Admin-index" name="rights[]" <if condition="in_array('Admin-index',$arr)">checked</if>>查看
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>网站设置：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="checkbox" class="input-checkbox" value="Web-edit" name="rights[]" <if condition="in_array('News-index',$arr)">checked</if>>修改
			</div>
		</div>

		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button onClick="" class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 修改</button>
				
				<input class="btn btn-default radius" type="reset"></input>
			</div>
		</div>
	</form>
</article>

<!--_footer 作为公共模版分离出去-->
<include file="Public:footer"/>
<!--/_footer /作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__ROOT__/Public/lib/My97DatePicker/WdatePicker.js"></script>  
<script type="text/javascript" src="__ROOT__/Public/lib/webuploader/0.1.5/webuploader.min.js"></script> 
<script type="text/javascript" src="__ROOT__/Public/lib/ueditor/1.4.3/ueditor.config.js"></script> 
<script type="text/javascript" src="__ROOT__/Public/lib/ueditor/1.4.3/ueditor.all.min.js"> </script> 
<script type="text/javascript" src="__ROOT__/Public/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>

<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>